<?php
require_once '../../include/class.resizeimage.php';

$fn = 'long.jpg';
$small_image_dir = "s";
$medium_image_dir = "m";
$large_image_dir = "l";
$orignial_image_dir = "o";

$small_image_dir = "out";

$image = new ResizeImage();
$image->load($fn);
$image->autoResize(800, 800, 400, 400);
$image->save($small_image_dir.'/'.$fn);

